home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database Designers / Rational Rose 2000 / Rational Setup.EXE / common / lib / MSWin32-x86 / auto / POSIX / assert.al < prev    next >
Encoding:
Text File  |  1999-01-26  |  356 b   |  16 lines

  1. # NOTE: Derived from ..\..\lib\POSIX.pm.
  2. # Changes made here will be lost when autosplit again.
  3. # See AutoSplit.pm.
  4. package POSIX;
  5.  
  6. #line 252 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto/POSIX/assert.al)"
  7. sub assert {
  8.     usage "assert(expr)" if @_ != 1;
  9.     if (!$_[0]) {
  10.     croak "Assertion failed";
  11.     }
  12. }
  13.  
  14. # end of POSIX::assert
  15. 1;
  16.